#include<iostream>
using namespace std;
int main()
{
	double a;
	cin >> a;
	printf("%f\n%.5f\n%e\n%g", a, a, a, a );
	return 0;
}